<?php

/**
 * 
 * Description of file constants
 * File waarin alle mappen en bestanden gedefineerd worden.
 * 
 * @version 0.2
 * @author Nick Swartelé
 * 
 */



//set_include_path(get_include_path() . PATH_SEPARATOR . $_SERVER['DOCUMENT_ROOT'] . '/');

// Root
define('WWW_ROOT',                          '');

define('HOME_PAGE',                         WWW_ROOT . 'index.php');

//Application Name
define('APPLICATION_NAME',                   'Robotik - Informatiesysteem');

// Header Location voor redirection.
define('HEADER_LOCATION',                   HOME_PAGE . 'index.php');

// Directories
define('DIR_CLASS',                         WWW_ROOT . 'classes/');   
define('DIR_CSS',                           WWW_ROOT . 'css/');
define('DIR_HTML',                          WWW_ROOT . 'html/');
define('DIR_IMAGES',                        WWW_ROOT . 'images/');
define('DIR_JS',                            WWW_ROOT . 'js/');
define('DIR_DB',                            DIR_CLASS . 'db/');
define('DIR_DEFS',                          DIR_CLASS . 'defs/');

// Define File
define('FILE_CONSTANTS',                    DIR_CLASS . 'defines.php');

// Database Files
define('FILE_DB_DBGEBRUIKER',                  DIR_DB . 'DbGebruiker.php');
define('FILE_DB_CONSTANTS',                    DIR_DB . 'DbConstants.php');
define('FILE_DB_DATABASE',                     DIR_DB . 'Database.php');
define('FILE_DB_ERROR',                        DIR_DB . 'Error.php');

// Class Files
define('FILE_CLASS_GEBRUIKER',                WWW_ROOT . DIR_CLASS . 'Gebruiker.php');

// Html Files
define('FILE_HTML_HOME',                    DIR_HTML . 'index.php');
define('FILE_HTML_LOGIN',                   DIR_HTML . 'form_login.php');
define('FILE_HTML_REGISTREREN',             DIR_HTML . 'form_registreren.php');

// Cascading Style Sheets Files
define('FILE_CSS_STYLESHEET',               DIR_CSS . 'style.css');
 
 
 //vgp_form checks van dbcontrole
 define('PJNMR_LEEG',                       'Er is geen projectnummer ingevuld!');
 
 // First Login
 define('FIRST_LOGIN',                          '00-00-0000 00:00:00');
 
 // Rights
 define('RIGHT_DEFAULT',                        '1');
 ?>